﻿using Idenmpotency;

namespace Microsoft.AspNetCore.Idenmpotency
{
    /// <summary>
    /// 接口：适用于ASP.net core 的幂等性请求
    /// </summary>
    public interface IAspIdenmpotencyRequest: IIdenmpotencyRequest
    {
        /// <summary>
        /// Http上下文
        /// </summary>
        public HttpContext HttpContext { get; }

        /// <summary>
        /// 中间件
        /// </summary>
        public RequestDelegate Next { get; }
    }
}
